home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000369_news@newsmaster….columbia.edu _Mon Mar 30 10:40:52 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA29828
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 30 Mar 1998 10:40:52 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA06693
  7.     for kermit.misc@watsun; Mon, 30 Mar 1998 10:40:51 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Math Function Library
  12. Date: 30 Mar 1998 15:40:48 GMT
  13. Organization: Columbia University
  14. Lines: 19
  15. Message-ID: <6foee0$s5b$1@apakabar.cc.columbia.edu>
  16. References: <6fhv3j$cc0$1@eskinews.eskimo.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8569
  19.  
  20. In article <6fhv3j$cc0$1@eskinews.eskimo.com>, Enoch Wu <enochw@usa.net> wrote:
  21. : I am sorry my news reader was not configured properly.  Therefore I am
  22. : reposting the following question:
  23. : What math functions are available in C-kermit ?
  24. In article <6fgr68$ref$1@eskinews.eskimo.com>, E <my@email.addr> wrote:
  25. : I ran kermit 6 for the first time yesterday.  I need to find out if kermit 6
  26. : supports mathematical computation.
  27. Yes it does (integer only).  As noted on page 35 of "Using C-Kermit", you
  28. can put an arithmetic expression (possibly containing variables) in most
  29. places where you could put a number.  Arithmetic expressions support regular
  30. mathematical notation -- parentheses for grouping, fourteen different
  31. arithmetic and logical operators with well-defined precedence, etc.
  32. And as noted on page 394, there is also a selection of arithmetic functions.
  33. Plus you can define your own functions, even recursive ones.
  34.  
  35. - Frank